import 'package:json_annotation/json_annotation.dart';

part 'accounting_detail_type.g.dart';

@JsonSerializable()
class AccountingDetailType {
  final int? action;
  final String? icon;
  final int? id;
  final String? name;

  AccountingDetailType({
    this.action,
    this.icon,
    this.id,
    this.name,
  });

  factory AccountingDetailType.fromJson(Map<String, dynamic> json) => _$AccountingDetailTypeFromJson(json);
  Map<String, dynamic> toJson() => _$AccountingDetailTypeToJson(this);
}
